package demo;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 张宇田
 * Date: 2024-09-26
 * Time: 19:14
 */
class Base{
    public Base(String s){
        System.out.print("B");
    }
}

public class Test extends Base{
    public Derived (String s) {
        System.out.print("D");
    }
    public static void main(String[] args){
        new Test("C");
    }
}
